package top.chmin.project.cloud.common.code.record.auto;

// field import auto
// #bind.field.fixLength#

import jakarta.annotation.Resource;
import org.springframework.web.bind.annotation.RestController;
import top.chmin.project.cloud.common.entity.Page;

/**
 * chmin
 * 2023-12-27 15:50:14
 * cloud-builder
 */
@RestController
public class CodeRecordController implements
// entity selectInterface auto
// entity searchInterface auto
        CodeRecordSave,
        CodeRecordUpdateById,
        CodeRecordDeleteById,
        CodeRecordSelectById,
        CodeRecordSelectPage {

    @Resource
    CodeRecordService service;

    @Override
    public int save(CodeRecordSave.Param param) {
        return service.save(param);
    }

    @Override
    public int updateById(CodeRecordUpdateById.Param param) {
        return service.updateById(param);
    }

    @Override
    public int deleteById(CodeRecordDeleteById.Param param) {
        return service.deleteById(param);
    }

    @Override
    public CodeRecordSelectById.Result selectById(CodeRecordSelectById.Param param) {
        return service.selectById(param);
    }

    @Override
    public Page<CodeRecordSelectPage.Result> selectPage(CodeRecordSelectPage.Param param) {
        return service.selectPage(param);
    }

// entity select auto

// entity search auto

}
